package com.example.leetcode.search.comon;

public class VersionControl {

    private int badVersion;

    public void setBadVersion(int badVersion) {
        this.badVersion = badVersion;
    }

    public boolean isBadVersion(int version){
        return version == badVersion;
    }
}
